<script setup lang='ts'>
import { onMounted } from "vue"
onMounted(() => {
    // console.log('加载执行了');

})
</script>

<template>
    <div class="loading">

        <img src="@/assets/imgs/加载中2.png" alt="">
    </div>
</template>

<style lang="less" scoped>
.loading {
    height: 100%;
    width: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 9999;
    top: 0;
    left: 0;

    img {
        width: 100%;
        // height: 100%;
        max-height: calc(100vh - 60rem);

    }
}
</style>
